package com.example.auth.enums;

import lombok.Getter;

@Getter
public enum RoleEnum {

	AUTH(1, "auth"),
	VISITOR(2, "visitor"),
	NO_LOGIN(3, "noLogin");

	private int type;
	private String code;

	RoleEnum(int type, String code) {
		this.type = type;
		this.code = code;
	}

	public int getType() {
		return this.type;
	}
}